package cn.wit.summit.chwan.models.event;

import java.io.Serializable;

/**
 * Created by Alan on 2018/4/4.
 */

public class DownloadEvent implements Serializable {

    public String downloadUrl;
    public int status;
    public int progress;
    public String speed;
    public String gameId;

    public DownloadEvent(String downloadUrl, int status, int progress, String speed, String gameId) {
        this.downloadUrl = downloadUrl;
        this.gameId = gameId;
        this.status = status;
        this.progress = progress;
        this.speed = speed;
    }
    public DownloadEvent(DownloadEvent downloadEvent, int status) {
        this.downloadUrl = downloadEvent.downloadUrl;
        this.gameId = downloadEvent.gameId;
        this.status = status;
        this.progress = downloadEvent.progress;
        this.speed = downloadEvent.speed;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }
}
